package cn.edu.hqu.cst.android.add_service;

import android.app.Service;
import android.content.Intent;
import android.os.IBinder;

public class add_service extends Service {
    public final ICat.Stub userBinder = new ICat.Stub() {


        @Override
        public void basicTypes(int anInt, long aLong, boolean aBoolean, float aFloat,
                               double aDouble, String aString) {

        }

        @Override
        public double add(double a, double b)  {
            return a + b;
        }


    };

    @Override
    public IBinder onBind(Intent intent) {
        return userBinder;
    }
}